import { IsBoolean, IsNumber, IsOptional, IsString } from "class-validator";

export default class PaginationDto {
    @IsNumber()
    @IsOptional()
    pageNo : number = 1;

    @IsNumber()
    @IsOptional()
    pageSize : number = 20

    @IsNumber()
    @IsOptional()
    lastKey : number = 0

    @IsBoolean()
    @IsOptional()
    isPc : boolean;
}